﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace TrupalTVCBL
{
    public class LineaBL
    {
        TrupalTVCDA.LineaDA oLineaDA;

        public LineaBL(): this(new TrupalTVCDA.LineaDA()){}

        public LineaBL(TrupalTVCDA.LineaDA oLineaDA)
        {
            this.oLineaDA = oLineaDA;
        }
        public List<TrupalTVCEF.TBMANLINEA> ListarLineas()
        {
            return oLineaDA.ListarLineas().Where(l=>l.FABIN_CORFABRI == 2).ToList();
        }
    }
}
